package com.zhongfl.crm.model.boss;

import com.zhongfl.crm.enums.boss.WorkOrderTaskStatus;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * tb_work_order_task
 * Created by wangkun23 on 2018/1/17.
 */
@ToString
public class WorkOrderTask {
    /*自增ID*/
    @Setter
    @Getter
    private Integer id;

    /*订单号*/
    @Setter
    @Getter
    private String taskNo;

    /*订单号*/
    @Setter
    @Getter
    private String orderNo;

    /*工单号*/
    @Setter
    @Getter
    private String workOrderNo;


    /*任务类型*/
    @Setter
    @Getter
    private Integer workOrderTaskTypeId;

    /*任务类型code*/
    @Setter
    @Getter
    private String workOrderTaskTypeCode;

    /*任务类型名称*/
    @Setter
    @Getter
    private String workOrderTaskTypeName;

    /*处理人*/
    @Setter
    @Getter
    private String claimStaffCode;

    /*处理人*/
    @Setter
    @Getter
    private String claimStaffName;

    /*开始时间*/
    @Setter
    @Getter
    private Date startTime;

    /*完成时间*/
    @Setter
    @Getter
    private Date endTime;

    /*内部收入*/
    @Setter
    @Getter
    private BigDecimal incomeAmount;

    /*外部收入*/
    @Setter
    @Getter
    private BigDecimal outcomeAmount;

    /*外部支出*/
    @Setter
    @Getter
    private BigDecimal payAmount;

    /*任务状态*/
    @Setter
    @Getter
    private WorkOrderTaskStatus status;

    /*工单备注描述*/
    @Setter
    @Getter
    private String remark;

    /*创建人*/
    @Setter
    @Getter
    private String createdBy;

    /*创建时间*/
    @Setter
    @Getter
    private Date createdTime;

    /*更新时间*/
    @Setter
    @Getter
    private Date modifiedTime;


    /*任务索引*/
    @Setter
    @Getter
    private Integer taskIndex;


    /*任务名称*/
    @Setter
    @Getter
    private String taskName;
}